import { TableColumnCtx } from 'element-plus'

export interface User {
  UserNo: string
  UserName: string
}
export interface VideoDt {
  videoName: string
  videoPath: string
  videoTime: string
  convertVideoPath: string
  collectTime: string
  videoLength: string
  isStart: boolean
  videoGuid: string
}
interface scoreDt {
  scoreItem: string
  score: number
  scoreValue: number
}
export interface AnalysisItem {
  userName: string
  courseCount?: number
  studentName?: string
  courseName?: string
  planUsers?: string //Array<User>
  examUsers?: string // Array<User>
  examExamUsers?: Array<User>
  examPlanUsers?: Array<User>
  planUserCount?: number
  examUserCount?: number
  examExamUsersLen?: number
  examPlanUsersLen?: number
  planTime?: string
  examTime?: string
  totalScore?: number
  avgScore?: number
  score?: number
  videoTime?: number
  videoLength?: number
  videoPath?: string
  examScore?: string
  teacherUserName?: string
  videos?: Array<VideoDt>
  details?: Array<scoreDt>
  imagePath?: string
  time?: string
  examCount?: number
  videoTimes?: string
  planCount?: number
  userNames?: string
}
export interface AnalysisItem_Zh {
  讲师?: string
  课程数量?: number
  视频总时长?: string
  学员?: string
  课程名称?: string
  考试名称?: string
  老师名称?: string
  课程时长?: string
  计划培训人员?: string
  实际培训人员?: string
  计划考试人员?: string
  实际考试人员?: string
  计划培训人员数量?: number
  实际培训人员数量?: number
  计划考试人员数量?: number
  实际考试人员数量?: number
  计划时间?: string
  考试时间?: string
  培训时间?: string
  总分?: number
  评价分?: number
  分数?: string
  视频名称?: string
  视频地址?: string
  分项?: string
  图片路径?: string
  得分?: string
}
export interface SpanMethodProps {
  row: AnalysisItem
  column: TableColumnCtx<AnalysisItem>
  rowIndex: number
  columnIndex: number
}
